package tgc.rj.zz.repository;

import java.util.List;


import org.springframework.stereotype.Repository;

import tgc.rj.zz.custom.CommonRepository;
import tgc.rj.zz.entity.Record;

@Repository
public interface RecordRepository extends CommonRepository<Record, Integer>{

	public List<Record> findByReader(Integer readerID);




	public List<Record> findByReaderAndAccredit(Integer readerID, String string);




	public List<Record> findByEndDateLessThan(String date);




	public List<Record> findByEndDateLessThanAndAccredit(String date, String string);




}
